﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace ProSOLD
{
  /// <summary>
  /// Interaction logic for Window1.xaml
  /// </summary>
  public partial class Window1 : Window
  {
    public Window1()
    {
      InitializeComponent();
    }

    private void image2_MouseDown(object sender, MouseButtonEventArgs e)
    {

      admin cl = new admin();

      NavigationService nav;

      nav = NavigationService.GetNavigationService(this);


      nav.Navigate(new System.Uri("admin.xml", UriKind.RelativeOrAbsolute));


      nav.Navigate(cl);
    }

    private void image1_MouseDown(object sender, MouseButtonEventArgs e)
    {
      Client cl = new Client();

      NavigationService nav;

      nav = NavigationService.GetNavigationService(this);


      nav.Navigate(new System.Uri("Client.xml", UriKind.RelativeOrAbsolute));


      nav.Navigate(cl);
    }
  }
}
